<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>500错误</title>

    <link rel="shortcut icon" href="/favicon.ico"> 
    <link href="/css/bootstrap.min.css" rel="stylesheet">
    <link href="/css/animate.min.css" rel="stylesheet">
</head>


<body class="gray-bg">


    <div class="middle-box text-center animated fadeInDown">
        <h1>500</h1>
        <h3 class="font-bold">服务器内部错误</h3>

        <div class="error-desc">
            <p th:text="${errorMsg}"></p>
            
            <br/>您可以返回主页看看
            <br/><br/><br/>
            <br/><a href="#" class="btn btn-primary m-t" onclick="goIndexPage()">主页</a>
        </div>
    </div>

    <!-- 全局js -->
    <script src="/js/jquery-1.11.3.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>

	<script type="text/javascript">
	function goIndexPage(){
		window.parent.location.href="/";	
	}
	</script>
</body>
</html>
